listbox: Select the last row on page down when there are few rows
authorJoaquim Rocha <jrocha@endlessm.com>
Thu, 1 Sep 2016 11:25:23 +0000 (13:25 +0200)
committerJoaquim Rocha <jrocha@endlessm.com>
Sat, 3 Sep 2016 11:52:39 +0000 (13:52 +0200)
commitf9658a2faf6929889be7d7042b3d8ee46456fb85
tree9a790e9244f23a8c6b2ad451ee720bcc06166acd
parentadabec7d2565ccd55940b3589e00407bcbf439a9
listbox: Select the last row on page down when there are few rows

When pressing page down doesn't retrieve a valid row (because the list
box has few rows), the last visible one should be selected instead.

https://bugzilla.gnome.org/show_bug.cgi?id=770703
gtk/gtklistbox.c